<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>双十一倒计时</title>

    <style>
        *{
            padding: 0;
            margin: 0;
        }
        body,html{
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100vw;
            height: 100vh;
            
        }
        body{
            padding: 100px 250px;
        }

        .wrap{
            position: relative;
            /* border: 1px solid red; */
            width: 100%;
            height: 100%;
        }
        #box {
            width: 500px;
            height: 100px;
            text-align: center;
            /* border:1px solid red; */
            line-height: 45px;
            font-size: 40px;
            font-weight: bold;
            position: absolute;
            transition: 0.8s;
            transform: translate(-50%,-50%);
        }
    </style>
</head>

<body>
    <div class="wrap">
        <div id="box"></div>
    </div>
</body>
<script src="./js/index.js"></script>
</html>